<?php
class Modblogs3 extends CI_Controller {
    private $params =array();
    public function index($params) {
        // Duyet mang params
        if(!empty($params)){
            foreach($params as $key=> $param){
                echo $key.' : ';
                echo $param.'<br/>';
            }
            //thuc hien yeu cau tu bien param ma nguoi dung yeu cau
            if($params[0] == 'param5')
                $data['daxuly'] = 'Codeigniter HMVC voi param5';
            else 
                $data['daxuly'] = 'Codeigniter HMVC khong phai param5';
        }else $data['daxuly'] = 'khong co yeu cau gi';
        
        $this->load->view('modules/viewmodblogs3',$data);
    }
}